package com.cd.hospital.modules.service;

import com.cd.hospital.modules.entity.NewsEntity;

import java.util.List;
import java.util.Map;

/**
 * 文章
 * 
 * @author weirdor
 * @email 179946422@qq.com
 * @date 2017-09-19 23:26:18
 */
public interface NewsService {
	
	NewsEntity queryObject(Integer id);
	
	List<NewsEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(NewsEntity news);
	
	void update(NewsEntity news);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
